<%--
  Created by IntelliJ IDEA.
  User: humeng
  Date: 2022/10/17
  Time: 15:22
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>设置解析</title>
</head>
<body>
<%
    String a = request.getParameter("a");
    if ("word".equals(a)){
        response.setContentType("application/msword");
    }else if ("excel".equals(a)){
        response.setContentType("application/vnd.ms-excel");
    }
%>

</body>
</html>
